package cn.gmcx.lazy.izze.service;

import cn.gmcx.lazy.izze.pojo.Praise;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 点赞表，记录谁点赞了哪条视频 服务类
 * </p>
 *
 * @author GMCX
 * @since 2024-08-20
 */
public interface IPraiseService extends IService<Praise> {

    Integer addPraise(Integer userId, Integer videoId);

    Boolean getIsPraise(Integer userId, Integer videoId);

    void upset(Integer videoId,Integer userId);
}
